// @ts-expect-error
// biome-ignore lint/correctness/noUnusedImports: biome-ignore
import React from "react";
import { scan } from "react-scan"; // must be imported before React and React DOM

scan({
  enabled: ENVIRONMENT.IS_DEV,
});

import ReactDom from "react-dom/client";
import { App } from "./App";
import "./i18n";
import "./globals.css";
import "katex/dist/katex.min.css";
import { ENVIRONMENT } from "@shared/constants";

ReactDom.createRoot(document.querySelector("app") as HTMLElement).render(
  <App />,
);
